from django.db import models


# Create your models here.
class Email(models.Model):
    email_addr = models.EmailField(max_length=50)


# 这个表是登录/注册请求的表
class Student(models.Model):
    name = models.CharField(max_length=10)
    password = models.CharField(max_length=16)
    email = models.ForeignKey(Email)
